window.hjSiteSettings = window.hjSiteSettings || {"site_id":1412497,"rec_value":0.0,"state_change_listen_mode":"automatic","record":true,"continuous_capture_enabled":true,"recording_capture_keystrokes":false,"session_capture_console_consent":false,"anonymize_digits":true,"anonymize_emails":true,"suppress_all":false,"suppress_all_on_specific_pages":[],"suppress_text":false,"suppress_location":false,"user_attributes_enabled":false,"legal_name":"","privacy_policy_url":"","deferred_page_contents":[],"record_targeting_rules":[],"feedback_widgets":[],"heatmaps":[],"polls":[],"integrations":{"optimizely":{"tag_recordings":false},"abtasty":{"tag_recordings":false},"kissmetrics":{"send_user_id":false},"mixpanel":{"send_events":false},"unbounce":{"tag_recordings":false},"hubspot":{"enabled":false,"send_recordings":false,"send_surveys":false}},"features":["survey.embeddable_widget","feedback.embeddable_widget","client_script.compression.pc","error_reporting","ask.popover_redesign","feedback.widget_telemetry","survey.image_question","settings.billing_v2","survey.type_button","survey.screenshots","feedback.widgetV2"],"tracking_code_verified":true}; !function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:10,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.send=t,this.batchSize=n,this.flushInterval=r,this.buffer=[],this.flushTimer=null}var n,r;return n=e,(r=[{key:"getBuffer",value:function(){return this.buffer}},{key:"add",value:function(e){var t=this;this.buffer.push(e),this.buffer.length>=this.batchSize?this.flush():this.flushTimer||(this.flushTimer=setTimeout((function(){t.flush()}),this.flushInterval))}},{key:"flush",value:function(){this.buffer.length>0&&(this.send(this.buffer),this.buffer=[]),this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null)}}])&&t(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&p(o)){var d={name:e,type:"distribution",value:Math.round(l),tags:g({tag:n,extraTags:a})};s.add(d)}return c}catch(t){console.debug("Failed to send timer metric: ",{name:e,tag:n,error:t})}},timeIncr:function(e,t){var n,r,i,a,s=t.tag,o=t.start,c=t.flush,u=t.extraTags,l=t.type,g=hj.metrics.time(),p=o&&g?g-o:void 0,m=(n=e,{tagName:r=h(s),start:(a=(i=d.loggedMetrics[n])&&i[r]||{}).start,total:a.total}),w=p?p+(m.total||0):m.total;return f(e,m.tagName,{total:w}),c&&v.timeEnd(e,{tag:s,total:w,extraTags:u,type:l}),w},timeWatcher:function(){var e,t=0,n=!1,r=function(){var n,r=v.time();return t+=null!==(n=e&&r&&r-e)&&void 0!==n?n:0,e=v.time(),t};return{start:function(){if(!n)return n=!0,e=v.time()},incr:r,end:function(){var n=r();return t=0,e=void 0,n}}},getErrorMessage:function(e){return e instanceof Error?e.message:"string"==typeof e?e:""}};window.hj=window.hj||function(){for(var e=arguments.length,t=new Array(e),n=0;n